


using System;
using System.Data;
using System.Data.Common;
using PuntoMascotasWeb.BackEnd.BE;
using PuntoMascotasWeb.BackEnd.DAC;

namespace PuntoMascotasWeb.BackEnd.BC
{
  /// <summary>
  /// Business component para DetalleCaja.
  /// </summary>
  /// <Date>2013-05-05T15:02:35</Date>
  /// <Author>Mx23</Author>
  public class DetalleCajaBC
  {
    /// <summary>
    /// Insert
    /// </summary>
    /// <param name="pDetalleCajaBE">DetalleCajaBE</param>
    /// <returns>void</returns>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public static void Insert(DetalleCajaBE pDetalleCajaBE)
    {

      //(Optional) Implement your code here

      DetalleCajaDAC.Insert(pDetalleCajaBE);


    }
    /// <summary>
    /// Update
    /// </summary>
    /// <param name="pDetalleCajaBE">DetalleCajaBE</param>
    /// <returns>void</returns>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public static void Update(DetalleCajaBE pDetalleCajaBE)
    {

      //(Optional) Implement your code here

      DetalleCajaDAC.Update(pDetalleCajaBE);


    }
    /// <summary>
    /// Delete
    /// </summary>
    /// <param name="pId">Id</param>
    /// <returns>void</returns>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public static void Delete(System.Int32 pId)
    {

      //(Optional) Implement your code here

      DetalleCajaDAC.Delete(pId);


    }
    /// <summary>
    /// GetAll
    /// </summary>

    /// <returns>DataSet</returns>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public static DataSet GetAll()
    {

      //(Optional) Implement your code here


      return DetalleCajaDAC.GetAll();


    }
    /// <summary>
    /// GetByParam
    /// </summary>

    /// <returns>DataSet</returns>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public static DataSet GetByParam(int pPageNum, int pPageSize)
    {

      //(Optional) Implement your code here


      return DetalleCajaDAC.GetByParam(pPageNum, pPageSize);


    }

  }
}